<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class XML</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> XML - 简单XML解析生成类</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">简单XML类描述</div>
	<div class="nav-bar">
					<span class="disabled">描述</span> |
															<a href="#sec-method-summary">方法</a> (<a href="#sec-methods">详情</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">简单XML操作类</p>
<p class="description"><p>本程序主要作用取得简单的XML文档解析并保存XML文档</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> 张旭刚</li>
				<li><span class="field">version:</span> v1.0 beta</li>
				<li><span class="field">copyright:</span> Copyright (c) ink工作室 (http://www.inkphp.com)</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_core---Lib---XML.class.php.html">/core/Lib/XML.class.php</a> (line <span class="field">12</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">方法摘要</span></div>
		<div class="nav-bar">
			<a href="#sec-description">描述</a> |
												<span class="disabled">方法</span> (<a href="#sec-methods">详情</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																								<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">XML</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$file</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">type</span>
										<a href="#getArrayFromXML" title="details" class="method-name">getArrayFromXML</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">type</span>
										<a href="#saveSetting" title="details" class="method-name">saveSetting</a>
											(<span class="var-type">type</span>&nbsp;<span class="var-name">$file</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$code</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">方法</div>
		<div class="nav-bar">
			<a href="#sec-description">描述</a> |
													<a href="#sec-method-summary">方法</a> (<span class="disabled">详情</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">14</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">XML</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$file</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetArrayFromXML" id="getArrayFromXML"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getArrayFromXML</span> (line <span class="line-number">22</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">取得XML文件的内容并解析后返回</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">type</span>
		<span class="method-name">
			getArrayFromXML
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsaveSetting" id="saveSetting"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">saveSetting</span> (line <span class="line-number">33</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">将XML代码保存到文件中</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">type</span>
		<span class="method-name">
			saveSetting
		</span>
					(<span class="var-type">type</span>&nbsp;<span class="var-name">$file</span>, <span class="var-type">type</span>&nbsp;<span class="var-name">$code</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type">type</span>
				<span class="var-name">$code</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>
	</div></body>
</html>